package org.irri.smta.service;

import java.util.List;

public interface IServiceBase<T, ID> {

	public T create(T t);
	
	public T update(T t) throws Exception;
	
	public T delete(ID id) throws Exception;
	
	public List<T> findAll();
	
	public T findById(ID id);

}
